body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande",Verdana,"Microsoft Yahei",STXihei,hei ;
    color: #000;
    background: #f2f2f2;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
a {
    text-decoration: none;
    color: #333;
}

div {
    box-sizing: border-box;
}
/* 搜索模块 */
.search-index {
    /* 固定定位和父亲没关系 */
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    /* 固定的盒子要有宽度 */
    min-width: 320px;
    max-width: 540px;
    height: 50px;
    background-color: #fff;
}
.search {
    position: relative;
    height: 32px;
    line-height: 28px;
    border-radius: 16px;
    border: 1.8px solid #0086f6 ;
    flex: 1;
    margin: 9px 12px;
    font-size: 15px;
    color: #999;
    padding-left: 35px;
    box-shadow:  0 2px 4px rgba(0, 0, 0, .2);
}

@font-face {
    font-family: "iconfont"; /* Project id  */
    src: url('iconfont.ttf?t=1622015517591') format('truetype');
  }

.search::before {
    display: block;
    position: absolute;
    top: 1px;
    left: 13px;
    content: "\e67d";
    font-family: "iconfont" !important;
    font-size: 20px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 15px;
    height: 15px;


}

/* 焦点图区域 */

/* .focus {
    padding-top: 44px;
}
.focus img {
    width: 100%;
}

 */







/* local-nav区域 */



/* 

.local-nav {
    display: flex;
    padding-top: 44px;
    height: 64px;
    background-color: #fff;
    border-radius: 8px;
    margin: 3px 4px ;
}
.local-nav li {
    flex:1;
}

.local-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.local-nav li [class^="local-nav-icon"] {
    width: 32px;
    height: 32px;
    background-color: pink;
    margin-top: 8px;
    background: url(../images/nav.png) no-repeat 0 0;
    background-size: 32px auto;
}

.local-nav li .local-nav-icon-icon2 {
    background-position: 0 -30px;
}

.local-nav li .local-nav-icon-icon3 {
    background-position: 0 -60px;
}

.local-nav li .local-nav-icon-icon4 {
    background-position: 0 -95px;
}
.local-nav li .local-nav-icon-icon5 {
    background-position: 0 -125px;
}
 */

 /* nav 区域 */
 .beijing {
     height: 50px;
     background-color: #fff;
 }
nav {
    overflow: hidden;
    background-color: #fff;
}

.nav-common {
    overflow: hidden;
    display: flex;
    height: 78px;
    margin: 5px 10px;
    background-color: #fff;
    border-bottom: 1px solid #fff;
}
.nav-common:nth-child(1){
    border-radius: 8px 8px 0 0;
}
.nav-common:nth-child(2){
    margin: -5px 10px;
}

.nav-items {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-items a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    line-height: 44px;
    color: #fff;
    font-size: 12px;
    text-shadow: 1px 1px rgba(0, 0, 0, .2);
}

 .nav-items a [class^="nav-icon"] {
    width: 28px;
    height: 28px;
    margin-top: 8px;
    background: url(../images/nav.png) no-repeat 0 -84px;
    background-size: 28px auto ;
}

.nav-items a .nav-icon-icon2 {
    background-position: 0 -168px;
}
.nav-items a .nav-icon-icon3 {
    background-position: 0 -364px;
}
.nav-items a .nav-icon-icon4 {
    background-position: 0 -140px;
}
.nav-items a .nav-icon-icon5 {
    background-position: 0 -28px;
}

.nav-items:nth-child(-n+4) {
    border-right: 1px solid #fff;
}

.nav-hotel1 {
    border-top-left-radius: 8px;
    background: -webkit-linear-gradient(180deg,#fa5956,#fb8650);
}
.nav-hotel2 {
    background: -webkit-linear-gradient(180deg,#3c83fa,#50b2fa);
}.nav-hotel3 {
    background: -webkit-linear-gradient(0deg,#66a4ff,#5e80ff);
}.nav-hotel4 {
    background: -webkit-linear-gradient(180deg,#2fc3b6,#52d9b3);
}.nav-hotel5 {
    border-top-right-radius: 8px;
    background: -webkit-linear-gradient(0deg,#ffa846,#ff8939 99%);
}



.item2 a [class^="nav-icon"] {
    width: 28px;
    height: 28px;
    margin-top: 8px;
    background: url(../images/nav.png) no-repeat 0 -336px;
    background-size: 28px auto ;
}

.item2 a .nav-icon-icon2 {
    background-position: 0 -56px;
}
.item2 a .nav-icon-icon3 {
    background-position: 0 -224px;
}
.item2 a .nav-icon-icon4 {
    background-position: 0 -196px;
}
.item2 a .nav-icon-icon5 {
    background-position: 0 -112px;
}

.nav-common .item2 a {
    color: #333;
    font-size: 12px;
    text-shadow: none;
}


.item3 a [class^="nav-icon"] {
    width: 28px;
    height: 28px;
    margin-top: 8px;
    background: url(../images/nav.png) no-repeat 0 0;
    background-size: 28px auto ;
}


.item3 a .nav-icon-icon2 {
    background-position: 0 -280px;
}
.item3 a .nav-icon-icon3 {
    background-position: 0 -252px;
}
.item3 a .nav-icon-icon4 {
    background-position: 0 -392px;
}
.item3 a .nav-icon-icon5 {
    background-position: 0 -308px;
}

.nav-common .item3 a {
    color: #333;
    font-size: 12px;
    text-shadow: none;
}

.item2:nth-child(1) {
    background-color: #fff5f1;
}

.item3:nth-child(1) {
    background-color: #fff5f1;
}
.item2:nth-child(2) {
    background-color: #eff9ff;
}

.item3:nth-child(2) {
    background-color: #eff9ff;
}
.item2:nth-child(3) {
    background-color: #f2f5ff;
}
.item3:nth-child(3) {
    background-color: #f2f5ff;
}
.item2:nth-child(4) {
    background-color: #ecfcf8;
}
.item3:nth-child(4) {
    background-color: #ecfcf8;
}
.item2:nth-child(5) {
    background-color: #fff9f2;
}
.item3:nth-child(5) {
    background-color: #fff9f2;
}



/* sub-banner区域 */

.sub-banner {
    display: flex;
    background-color: #f4f4f4;
    padding: 15px 10px;
    margin-left: -8px;
    margin-bottom: 10px;
}

.banner {
    position: relative;
    flex: 1;
    width: 50%;
    padding: 8px;
    margin-left: 8px;
    border-radius: 8px;
    background: #fff;
    box-sizing: border-box;
    overflow: hidden;
}

.banner .block-header {
    display: flex;
    height: 20px;
    margin-bottom: 6px;
    justify-content: space-between;
    align-items: center;
}

.banner img {
    width: 73px;
    height: 20px;
}

.banner span {
    height: 16px;
    line-height: 16px;
    border-radius: 2px;
    font-size: 10px;
    background:#ffebe3 ;
    color: #ff4607;
    padding: 1px 4px;
    white-space: nowrap;


}
.banner .banner-span {
    background:#fdefd2 ;
    color: #ae6e15;
} 

.rank-wrapper {
    position: relative;
    display: flex;
    flex-direction: row;
}
.rank-wrapper .rank-item {
    margin-right: 2px;
    flex: 1;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
}

.block-image {
    position: relative;
    height: 84px;
    border-radius: 6px;
    box-sizing: border-box;
    overflow: hidden;
}
.block-image img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: 84px;
}
.block-footer {

    align-items: center;
    margin-top: 6px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.1;
}



.slider {
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    overflow: hidden;
}

.hotsale-wrapper .block-image {
    position: relative;
    height: 84px;
    border-radius: 6px;
    box-sizing: border-box;
    overflow: hidden;
    margin-bottom: 4px;
    
}
.hotsale-wrapper .block-image img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
}

.hotsale-wrapper .block-footer {
    margin-top: 4px;
    height: 18px;
    line-height: 18px;
    overflow: hidden;
}

/* banner-wrap */

.ad-banner-wrap {
    margin-top: 10px;
    padding: 0 12px  12px;
    overflow: hidden;
}
.ad-banner-wrap img {
    width: 100%;
    box-shadow: rgba(0, 0, 0, .2);
}


.table {
    position: fixed;
    box-shadow: 0 -5px 15px 0 rgba(0, 0, 0, .05);
    bottom: 0;
    left: 0;
    right: 0;
    height: 49px;
    background-color: #fff;
    max-width: 540px;
    margin: 0 auto ;
    display: flex;
    align-items: center;
    justify-content: center;

}
.table  .home  {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 5px;
    font-size: 11px;
    line-height: 12px;

}

.table [class^="icon-"] {
    width: 32px;
    height: 32px;
    background-size: 32px auto;
    background-image: url(../images/tabbar.png);
    background-position: 0 -64px;
}

.table  .icon-icon2 {
    background-position: 0 -32px;
}

.table  .icon-icon3 {
    background-position: 0 -160px;
}
.table  .icon-icon4 {
    background-position: 0 -224px;
}

.home:nth-child(1) {
    color: #0086f6;
}
